<? include block('htmla-mce') ?>

<fieldset>
<legend> <?=t('Settings for the “!name” (!type)', 'tpl', array('!name' => dat('component', 'name'), '!type' => dat('component', 'value')))?> </legend>

<? 	
	if (file_exists("{$DATA[component][path]}/admin/settings/show.php")) {
		
		include("{$DATA[component][path]}/admin/settings/show.php");
		
	} else {	?>
	
		<h4><?=t('No settings for this block', 'tpl')?></h4>
		<p><a href="<?=_transformURL($CURRENT->url, array('remove_param' => 'settings'))?>"><?=t('Return to components page', 'tpl')?></a></p>
		
	<? }
?>

</fieldset>

<? include block('_htmla');